package Program.Information;

public class Admin {
    //管理员ID：自增主键
    private int adminID;
    //管理员用户名
    private String adminName;
    //管理员密码
    private String adminPassword;
    //管理员姓名
    private String name;
    //管理员性别
    private String adminSex;
    //管理员住址
    private String adminAddress;

    public Admin() {
    }

    public Admin(int adminID, String adminName, String adminPassword,
                 String name, String adminSex, String adminAddress) {
        this.adminID = adminID;
        this.adminName = adminName;
        this.adminPassword = adminPassword;
        this.name = name;
        this.adminSex = adminSex;
        this.adminAddress = adminAddress;
    }

    public int getAdminID() {
        return adminID;
    }

    public void setAdminID(int adminID) {
        this.adminID = adminID;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAdminSex() {
        return adminSex;
    }

    public void setAdminSex(String adminSex) {
        this.adminSex = adminSex;
    }

    public String getAdminAddress() {
        return adminAddress;
    }

    public void setAdminAddress(String adminAddress) {
        this.adminAddress = adminAddress;
    }

    @Override
    public String toString() {
        return "Master [masterID=" + adminID + ", masterName=" + adminName + ", password=" + adminPassword + ", name="
                + name + ", masterSex=" + adminSex + ", masterAddress=" + adminAddress + "]";
    }
}
